package com.ruicar.afs.cloud.common.mq.finance.debit.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.ruicar.afs.cloud.common.modules.contract.enums.FundsTypeEnum;
import com.ruicar.afs.cloud.common.modules.contract.enums.ReceiptSourceTypeEnum;
import com.ruicar.afs.cloud.common.modules.contract.enums.TransOpreateTypeEnums;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>Description: </p>
 *
 * @author ZC.GUO
 * @version 1.0
 * @date create on 2020-07-01 18:02
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DebitSuccessDataDto implements Serializable {

    /**  客户号 by ZC.GUO  **/
    @JSONField(name = "custNo")
    private String custNo;
    /**  合同号码 by ZC.GUO  **/
    @JSONField(name = "contractNo")
    private String contractNo;
    /**  金额 by ZC.GUO  **/
    @JSONField(name = "amount")
    private BigDecimal amount;
    /**  未分配金额类型 by ZC.GUO  **/
    @JSONField(name = "fundsType")
    private FundsTypeEnum fundsType;
    /**  收据id by ZC.GUO  **/
    @JSONField(name = "fundId")
    private Long fundId;
    /**  操作人 by ZC.GUO  **/
    @JSONField(name = "operator")
    private String operator;
    /**  业务操作类型 by ZC.GUO  **/
    @JSONField(name = "operateType")
    private TransOpreateTypeEnums operateType ;
    /**  来款类型 by ZC.GUO  **/
    @JSONField(name = "receiptSourceType")
    private ReceiptSourceTypeEnum receiptSourceType ;
    @ApiModelProperty("埋点编号")
    @JSONField(name = "buriedPointNo")
    private String buriedPointNo;
}
